From: Joonas Henriksson Date: Tue, 26 Nov 2019 23:20:31 +0000 (+0200) Subject: theme: Add light styling to message buttons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~355 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5b957f69d8096650a7ea17f6a61ea56ddea86669;p=gnome-shell.git theme: Add light styling to message buttons https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/865 --- diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index 6a82a18a6..3f63fcb90 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -1154,8 +1154,8 @@ StScrollBar { .message-close-button { color: lighten($fg_color, 15%); - &:hover { color: darken($fg_color, 10%); } - &:active { color: darken($fg_color, 20%); } + &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); } + &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); } } .message-media-control { @@ -1164,9 +1164,9 @@ StScrollBar { &:last-child:ltr { padding-right: 18px; } &:last-child:rtl { padding-left: 18px; } - &:hover { color: darken($fg_color, 10%) } - &:active { color: darken($fg_color, 20%); } - &:insensitive { color: darken($fg_color,40%); } + &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); } + &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); } + &:insensitive { color: if($variant=='light', lighten($fg_color, 50%), darken($fg_color, 40%)); } } .media-message-cover-icon {